﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="utf-8" />
</head>
<body>
    <input type="button" name="name" value="delete" id="delete" />
</body>
<script src="../Scripts/jquery-1.10.2.js"></script>
<script>
    $('#delete').on('click', function () {
        $.post('../api/department/deletelist', { "id": "2,4" }, function (result, status) {
            if (result.IsSuccess) {
                alert('success');
            } else {
                alert('error');
            }
        });
    })
</script>
</html>
